<template>
  <div>
    <div class="table">
      <el-table :header-cell-style="{
        color: '#fff',
        background: '#6090EC',
        fontSize: '11px',
        fontWeight: 'normal',
      }" :data="message" border size="mini">
        <el-table-column prop="orderId" label="订单号" >
        </el-table-column>
        <el-table-column prop="ticketsNum" label="订单票量">
        </el-table-column>
        <el-table-column prop="passengerName" label="乘机人" >
        </el-table-column>
        <el-table-column prop="pnr" label="PNR/记录编码">
        </el-table-column>
        <el-table-column prop="actionCode" label="PNR(机票)状态" >
        </el-table-column>
        <el-table-column prop="segment" label="航程" >
          <template slot-scope="scope">
            <div>{{ scope.row.segment }}</div>
          </template>
        </el-table-column>
        <el-table-column prop="flight" label="航班号">
        </el-table-column>
        <el-table-column prop="departureTime" label="起飞时间">
        </el-table-column>
        <el-table-column prop="createTime" label="预定时间">
        </el-table-column>
        <!-- <el-table-column prop="changeStatus" label="退票状态" >
          <template slot-scope="scope">
            <template v-if="scope.row.changeStatus == null">无</template>
            <template v-if="scope.row.changeStatus == '1'">退票完成</template>
            <template v-if="scope.row.changeStatus == 'cancelled'">已取消</template>
            <template v-if="scope.row.changeStatus == 'failPay'">支付失败</template>
            <template v-if="scope.row.changeStatus == 'waitPay'">未支付</template>
          </template>
        </el-table-column> -->
      </el-table>
    </div>
  </div>
</template>

<script>
export default {
  props: ["message"],
  data() {
    return {
   
    };
  },
  methods: {
   
  },
  mounted() {
  },
};
</script>
<style scoped>
.table {
  padding: 0;
}
</style>
